<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org" xmlns:title="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>类别管理界面</title>
    <th:block th:include="~{sys/common/include::head}"></th:block>
    <!--自定义格式-->
    <link rel="stylesheet" th:href="@{/assets/sys/common/list.css}">
    <style>
        .data-gird{
            margin-right: 10px;
            margin-top: 10px;
        }
    </style>
</head>
<body>
<aside th:replace="~{sys/common/include::aside}"></aside>
<main class="main-wrap">
    <header th:replace="~{sys/common/include::main-header}"></header>
    <section class="content-main">
        <div class="data-gird">
            <table id="tbl" lay-filter="tbl">
                <!--            表格工具栏-->
                <script type="text/html" id="toolbar">
                    <div class="layui-btn-container">
                        <button class="layui-btn layui-btn-sm custom-green" lay-event="add"
                                title="勾选行则将新增类别添加至其子类别">
                            <i class="layui-icon layui-icon-add-circle"></i>新增
                        </button>
                        <button class="layui-btn layui-btn-sm custom-green" lay-event="edit">
                            <i class="layui-icon layui-icon-edit"></i>修改
                        </button>

                        <button class="layui-btn layui-btn-sm layui-bg-red" lay-event="del">
                            <i class="layui-icon layui-icon-delete"></i>删除
                        </button>

                    </div>

                </script>
                <!--            行工具栏-->
                <script type="text/html" id="rowbar">
                    <a class="layui-btn layui-btn-xs layui-btn-normal custom-green" lay-event="edit">编辑</a>
                    <a class="layui-btn layui-btn-xs layui-btn-danger" lay-event="del">删除</a>
                </script>

            </table>
        </div>
        </div>
    </section>
</main>
<div th:include="~{sys/common/include::scripts}"></div>
<script th:src="@{/assets/sys/category/list.js}"></script>
</body>

</html>